.phone {
  background-image: url('./img/phone.jpg');
  background-repeat: no-repeat;
  position: relative;
  background-size: 100%;
  padding: 100px 29px;
  width: 375px;
  height: 735px;
  margin: 0 auto;

}

.phone .user-name {
  position: absolute;
  top: 300px;
  left: 70px;
  padding: 20px;
  background: white;
  line-height: 40px;
}

.phone .msg-content {
  width: 100%;
  height: 660px;
}

.phone .msg-content .message {
  margin: 0;
  padding: 0;
  width: 362px;
  overflow: auto;
  height: 614px;
  font-size: 16px;
  color: white;
}
.phone .msg-content .me{
    text-align: right;
    margin-right: 10px;
}

.phone .msg-content  .othoer{
 margin-left: 10px;
}

.phone .msg-content  .othoer .unread{
    color: red;
   }

.phone .msg-content .msg{
    margin-top: 10px;
}
.phone .msg-content .msg .user{
    font-size: 16px;
    font-weight: 600;
    color: green;
}
.phone .msg-content .msg .detail{
    color: #d8d8d8;
}
.phone .msg-content .msg .time{
    margin-top: 5px;
    color: #d8d8d8;
}

.phone .msg-content .msg .detail span{
    display: inline-block;
    max-width: 200px;
    background-color: #444;
    padding: 5px;
    border-radius: 5px;
}
.phone .msg-content .message .info{
    text-align: center;
    font-size: 14px;
    color: gray;
    padding: 10px;
}

.msg-content .input-area {
  /* position: absolute;
  bottom: 0;
  left: 0;
  right: 0; */
  height: 40px;
  /* background: lightblue; */
}

.msg-content .input-area input {
  width: 293px;
  height: 30px;
  line-height: 30px;
}

.msg-content .input-area button {
  width: 75px;
  height: 37px;
  line-height: 30px;
  vertical-align: middle;
}
